import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import echarts from 'echarts'
// import '../mock/mock.js'
import api from './api/index' // 导入api接口
import './components/baseComponents'
import Toast from './components/Toast'

import '@/assets/scss/main.scss'

Vue.config.productionTip = false
Vue.prototype.$echarts = echarts
Vue.prototype.$api = api
Vue.use(Toast)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
